From: Øyvind Kolås Date: Sat, 1 Dec 2018 20:35:46 +0000 (+0100) Subject: base: add half version of CMYK formats X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~12^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=00d9838859640597e0eb835e10e769524179b413;p=babl.git base: add half version of CMYK formats --- diff --git a/babl/base/model-cmyk.c b/babl/base/model-cmyk.c index a550427..c689d28 100644 --- a/babl/base/model-cmyk.c +++ b/babl/base/model-cmyk.c @@ -924,6 +924,28 @@ babl_base_model_cmyk (void) babl_component ("A"), NULL ); + + babl_format_new ( + "name", "cmyk half", + babl_model ("cmyk"), + babl_type ("half"), + babl_component ("cyan"), + babl_component ("magenta"), + babl_component ("yellow"), + babl_component ("key"), + NULL + ); + babl_format_new ( + "name", "cmykA half", + babl_model ("cmykA"), + babl_type ("half"), + babl_component ("cyan"), + babl_component ("magenta"), + babl_component ("yellow"), + babl_component ("key"), + babl_component ("A"), + NULL + ); babl_format_new ( "name", "camayakaA u16", babl_model ("camayakaA"), @@ -980,6 +1002,27 @@ babl_base_model_cmyk (void) babl_component ("Key"), NULL ); + babl_format_new ( + "name", "CMYKA half", + babl_model ("CMYKA"), + babl_type ("half"), + babl_component ("Cyan"), + babl_component ("Magenta"), + babl_component ("Yellow"), + babl_component ("Key"), + babl_component ("A"), + NULL + ); + babl_format_new ( + "name", "CMYK half", + babl_model ("CMYK"), + babl_type ("half"), + babl_component ("Cyan"), + babl_component ("Magenta"), + babl_component ("Yellow"), + babl_component ("Key"), + NULL + ); babl_format_new ( "name", "CMYK u8",